    <div class="page">
		
		<!--Page content start-->
		<div class="sidebar_page">
			<div class="content">

				<div id="account" class="tabbed">
					<div class="page_capt clearfix">
						<h2>{$user.ime}</h2>
						<h3>Moj nalog</h3>
					</div>
					
					<div class="tabs_hold">
						<a id="profile" class="current" href="#member_info" rel="inpage">Lični podaci</a>
						<a id="color" href="#user_work_color" rel="inpage">Color</a>
						<a id="bw" href="#user_work_bw" rel="inpage">Black &amp; Grey</a>
						<a id="cover" href="#user_work_coverup" rel="inpage">Cover Up</a>
						<a id="piercing" href="#user_work_piercing" rel="inpage">Piercing</a>
						<a id="flash" href="#user_work_flash" rel="inpage">Flash</a>
						<a id="personal" href="#user_work_personal" rel="inpage">Personal</a>
					</div>
					<div class="tabs_cont_hold">
						<div id="member_info" class="tab_cont">
							<div class="cols3">
								<div class="col">
									<div class="data_view">
										<img src="{$media}/autori/{$user.username}/slike_za_profil/{$user.slika}" alt="{$user.ime}" width="150" height="150" />
										<p><a class="edit_act" href="#user_image_form">Promeni sliku</a></p>
									</div>
									<form class="data_edit" id="user_image_form" name="user_image_form" action="handlers/upload.php" method="post" enctype="multipart/form-data">
										<label for="">Odaberi sliku:</label><br />
										<input class="inp_file w140" id="" name="file" type="file" /><br />
                                                                                <input name="action" type="hidden" value="profilslika" />
										<input name="username" type="hidden" value="{$user.username}" />
                                                                                <input class="inp_btn w80" id="" name="Submit" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn w80 file_btn" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
								<div class="col">
									<div class="data_view">
										<p>Ime i prezime: <strong>{$user.ime}</strong></p>
										<p>Korisničko ime: <strong id="username">{$user.username}</strong></p>
										<br />
										<p>Datum rođenja: <strong>{$user.datrodjenja}</strong></p>
										<p>Grad: <strong>{$user.mesto}</strong></p>
										<p>Država: <strong>{$user.drzava}</strong></p>
										<br />
										<p>Telefon: <strong>{$user.telefon_privatni}</strong></p>
										<p>E-mail: <strong>{$user.email}</strong></p>
										<p>Web: <strong>{$user.www}</strong></p>
										<br />
										<p><a class="edit_act" href="#user_basic_form">Promeni podatke</a></p>
									</div>
									<form class="data_edit" id="user_basic_form" name="user_basic_form" action="" method="post">
										<label for="">Ime i prezime:</label><br />
										<input class="inp_text w210" id="" name="ime" type="text" value="{$user.ime}" /><br />
																				
										<label for="">Datum rođenja:</label><br />
										<input class="inp_text w210" id="" name="datum_rodjenja" type="text" value="{$user.datrodjenja}" /><br />
										
										<label for="">Grad:</label><br />
										<input class="inp_text w210" id="" name="grad" type="text" value="{$user.mesto}" /><br />
										
										<label for="">Država:</label><br />
										<input class="inp_text w210" id="" name="drzava" type="text" value="{$user.drzava}" /><br />
										
										<label for="">Telefon:</label><br />
										<input class="inp_text w210" id="" name="telefon_privatni" type="text" value="{$user.telefon_privatni}" /><br />
										
										<label for="">E-mail:</label><br />
										<input class="inp_text w210" id="" name="email" type="text" value="{$user.email}" /><br />
										
										<label for="">Web:</label><br />
										<input class="inp_text w210" id="" name="web" type="text" value="{$user.www}" /><br />
										
										<input class="inp_btn" id="promeni" name="" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
								<div class="col">
									<div class="data_view">
										<p>Studio: <strong>{$user.odgovor}</strong></p>
										<p>Adresa: <strong>{$user.adresa_studija}</strong></p>
										<br />
										<p>Telefon: <strong>{$user.telefon_studio}</strong></p>
										<p>E-mail: <strong>{$user.email_studio}</strong></p>
										<p>Web: <strong>{$user.www_studio}</strong></p>
										<br />
										<p><a class="edit_act" href="#user_work_form">Promeni podatke</a></p>
									</div>
									<form class="data_edit" id="user_work_form" name="user_work_form" action="" method="post">
										<label for="">Studio:</label><br />
										<input class="inp_text w210" id="" name="studio" type="text" value="{$user.odgovor}"/><br />
										
										<label for="">Adresa:</label><br />
										<input class="inp_text w210" id="" name="adresa_studija" type="text" value="{$user.adresa_studija}"/><br />
										
										<label for="">Telefon:</label><br />
										<input class="inp_text w210" id="" name="telefon_studio" type="text" value="{$user.telefon_studio}" /><br />
										
										<label for="">E-mail:</label><br />
										<input class="inp_text w210" id="" name="email_studio" type="text" value="{$user.email_studio}"/><br />
										
										<label for="">Web:</label><br />
										<input class="inp_text w210" id="" name="web_studio" type="text" value="{$user.www_studio}" /><br />
										
										<input class="inp_btn" id="promeni_studio" name="" type="submit" value="Promeni" />
										<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
									</form>
								</div>
							</div>
							<br /><br />
							<div class="data_view">
								<p>Moto &frasl; O Sebi:<br /><em>{$user.osebi}</em></p>
								<br />
								<p><a class="edit_act" href="#user_about_form">Promeni opis</a></p>
							</div>
							<form class="data_edit" id="user_about_form" name="user_about_form" action="" method="post">
								<label for="">Moto &frasl; O Sebi:</label><br />
								<textarea class="inp_area w420" id="" name="osebi" value="{$user.osebi}" type="text" cols="" rows="3">{$user.osebi}</textarea><br />
								
								<input class="inp_btn" id="promeni_osebi" name="" type="submit" value="Promeni" />
								<input class="edit_act_cancel inp_btn" id="" name="" type="button" value="Odustani" />
							</form>
							<br /><br />
							<p>Datum registracije: <strong>{$user.datum_registracije}</strong></p>
							<p>Zadnji login: <strong>{$user.poslednji_pristup|date_format:"%d.%m.%Y"}</strong></p>   <!--Ima i vreme-->
							<br />
							<p>Ukupno radova: <strong>{$user.broj_fotografija}</strong></p>   <!--Valjda se na to odnosi-->
							<p>Likes: <strong>{$user.broj_skljoceva}</strong></p>
							<p>Komentara: <strong>{$user.broj_komentara}</strong></p>
							
						</div>
						
						<div id="user_work_color" class="tab_cont">
                                                   		<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Colour" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserColourGalleryPhotos item='UserColourGalleryPhoto'}
								<div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserColourGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserColourGalleryPhoto.username}/{$UserColourGalleryPhoto.slika}" alt="{$UserColourGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserColourGalleryPhoto.id}" title="Pogledajte profil">{$UserColourGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}                   
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{$paginatorUserColourGallery}
							</div>
						</div><!--end of .tab_cont-->
						
					<div id="user_work_bw" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Black and Gray" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserBlackandGrayGalleryPhotos item='UserBlackandGrayGalleryPhoto'}
								<div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserBlackandGrayGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserBlackandGrayGalleryPhoto.username}/{$UserBlackandGrayGalleryPhoto.slika}" alt="{$UserBlackandGrayGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserBlackandGrayGalleryPhoto.id}" title="Pogledajte profil">{$UserBlackandGrayGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}            
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{$paginatorUserBlackandGrayGallery}
							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_coverup" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Cover up" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserCoverUpGalleryPhotos item='UserCoverUpGalleryPhoto'}
								<div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserCoverUpGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserCoverUpGalleryPhoto.username}/{$UserCoverUpGalleryPhoto.slika}" alt="{$UserCoverUpGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserCoverUpGalleryPhoto.id}" title="Pogledajte profil">{$UserCoverUpGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}           
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{{$paginatorUserCoverUpGallery}}
							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_piercing" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
                                                                <input class="inp_file  w210" id="" name="file" type="file" />
								<input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Piercing" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserPiercingGalleryPhotos item='UserPiercingGalleryPhoto'}
								<div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserPiercingGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserPiercingGalleryPhoto.username}/{$UserPiercingGalleryPhoto.slika}" alt="{$UserPiercingGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserPiercingGalleryPhoto.id}" title="Pogledajte profil">{$UserPiercingGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{{$paginatorUserPiercingGallery}}
							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_flash" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Flash" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserFlashGalleryPhotos item='UserFlashGalleryPhoto'}
                                                                <div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserFlashGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserFlashGalleryPhoto.username}/{$UserFlashGalleryPhoto.slika}" alt="{$UserFlashGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserFlashGalleryPhoto.id}" title="Pogledajte profil">{$UserFlashGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}           
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{{$paginatorUserFlashGallery}}
							</div>
						</div><!--end of .tab_cont-->
						
						<div id="user_work_personal" class="tab_cont">
							<form class="data_edit data_open" action="handlers/upload.php" method="post" enctype="multipart/form-data">
								<label for="">Dodaj fotografiju</label>
								<input class="inp_file  w210" id="" name="file" type="file" />
                                                                <input name="action" value="dodaj_sliku" type="hidden" />
                                                                <input name="galerija" value="Personal" type="hidden" />
                                                                <input name="username" value="{$user.username}" type="hidden" />
								<input class="inp_btn file_btn" id="" name="Submit" type="submit" value="Dodaj" />
							</form>
							<div class="clearfix thumb_gall">
                                                            {foreach from=$UserPersonalGalleryPhotos item='UserPersonalGalleryPhoto'}
								<div class="gal_item">
									<a class="thumb" href="{$url}/?page=galerija_single&photo_id={$UserPersonalGalleryPhoto.id}" title="Pogledajte uvećanu sliku"><img src="{$media}/autori/{$UserPersonalGalleryPhoto.username}/{$UserPersonalGalleryPhoto.slika}" alt="{$UserPersonalGalleryPhoto.naziv}" /></a>
									<a class="img_det_user" href="{$url}/?page=galerija_single&photo_id={$UserPersonalGalleryPhoto.id}" title="Pogledajte profil">{$UserPersonalGalleryPhoto.naziv}</a>
								</div>
                                                            {/foreach}       
							</div><!--end of .thumb_gall-->
							<div class="gal_nav">
								{{$paginatorUserPersonalGallery}}
							</div>
						</div><!--end of .tab_cont-->

					</div><!--end of .tabs_cont_hold-->
				</div>
				
				
				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col">{include file="bottom_banners.tpl"}</div>
					<div class="col">{include file="chat.tpl"}</div>
				</div>
				
			</div>
			<!--Content end (.content)-->
			<div class="sidebar">{include file="sidebar_banners.tpl"}</div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>
